package cn.tedu.ivos.user.pojo.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotEmpty;
import java.util.Date;

/**
 * @author liyuehui
 * @time 2024/7/8 15:15
 */
@Data
public class UserSaveDTO {
    @ApiModelProperty(value = "用户id", example = "101", required = true)
    private Long id;
    @ApiModelProperty(value = "用户名", example = "tom", required = true)
    private String username;
    @ApiModelProperty(value = "邮箱", example = "xxxxx@(qq/gmail).com", required = true)
    private String email;
    @ApiModelProperty(value = "手机号", example = "18228228933", required = true)
    private String phone;
    @ApiModelProperty(value = "年龄", example = "18", required = true)
    private Integer age;
    @ApiModelProperty(value = "性别", example = "男/女", required = true)
    private String gender;
    @ApiModelProperty(value = "状态", example = "正常/禁用", required = true)
    private String status;
    @ApiModelProperty(value = "职级", example = "普通/经理/项目组长", required = true)
    private String level;
    @ApiModelProperty(value = "直接上级id", example = "101")
    private Long parentId;
}
